﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebCrawler.Model
{
    public class Web720yunModel : ObservableObject
    {
        // 基础URL
        private string _url;
        public string Url
        {
            get { return _url; }
            set { _url = value; RaisePropertyChanged(() => Url); }
        }

        // 全景图名
        private string _name;
        public string Name
        {
            get { return _name; }
            set { _name = value; RaisePropertyChanged(() => Name); }
        }

        // 瓦片组合的行列数
        private int _tile;
        public int Tile
        {
            get { return _tile; }
            set { _tile = value; RaisePropertyChanged(() => Tile); }
        }

        // 是否下载单个的小图
        private bool _downloadSingleImage;
        public bool DownloadSingleImage
        {
            get { return _downloadSingleImage; }
            set { _downloadSingleImage = value; RaisePropertyChanged(() => DownloadSingleImage); }
        }

        // 占位符
        private ComplexInfoModel _placeholder;
        public ComplexInfoModel Placeholder
        {
            get { return _placeholder; }
            set { _placeholder = value; RaisePropertyChanged(() => Placeholder); }
        }

        // 占位符列表
        private List<ComplexInfoModel> _placeholderList;
        public List<ComplexInfoModel> PlaceholderList
        {
            get { return _placeholderList; }
            set { _placeholderList = value; RaisePropertyChanged(() => PlaceholderList); }
        }

        // 图片质量
        private ComplexInfoModel _imageQuality;
        public ComplexInfoModel ImageQuality
        {
            get { return _imageQuality; }
            set { _imageQuality = value; RaisePropertyChanged(() => ImageQuality); }
        }

        // 图片质量列表
        private List<ComplexInfoModel> _imageQualityList;
        public List<ComplexInfoModel> ImageQualityList
        {
            get { return _imageQualityList; }
            set { _imageQualityList = value; RaisePropertyChanged(() => ImageQualityList); }
        }






    }
}